 <?php echo $html->docType('xhtml-trans'); ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php echo $html->charset('UTF-8'); ?>

<meta name="description" content="<?php if(isset($details['News']['meta_key']) && $details['News']['meta_key']) echo $details['News']['meta_key'].", " ?><?php if(isset($site_settings)) echo $site_settings['site_meta_description'] ?>">
<meta name="keywords" content="<?php if(isset($details['News']['meta_description']) && $details['News']['meta_description']) echo $details['News']['meta_description'].", " ?><?php if(isset($site_settings)) echo $site_settings['site_meta_key'] ?>">

<title><?php if($front_page_title) echo $front_page_title.' :: ' ?>Welcome to Chikitsha.com</title>
<script type="text/javascript">var path='<?php echo $html->url('/',false) ?>';</script>
<?php
    echo $html->css(array(
            '/js/ui/css/ui-lightness/jquery-ui-1.8.7.custom', 
            '/js/jquery-tooltip/jquery.tooltip',
            '/js/ptip/tip-yellow/tip-yellow.css',
            '/js/fancybox/jquery.fancybox-1.3.4', 
            '/css/style.css'
    ));
    
    echo $common->js(
            array(
                'dropmenu',
                
                'jquery',
                
                'ui/js/jquery-ui-1.8.7.custom.min', 
                'fancybox/jquery.mousewheel-3.0.4.pack', 
                'fancybox/jquery.fancybox-1.3.4.pack', 
                'jquery-tooltip/jquery.tooltip', 
                '/ptip/jquery.poshytip.min', 
                'jquery.cookie', 
                'jquery.scrollTo', 
                'jquery.cycle.all.latest', 
                'custom', 
            ),
            'public_'
        );
    
?>

</head>

<body>
    <?php echo $this->element('public/header'); ?>                 
    <div class="main_body wraper">
        <div class="main_container">
            <?php echo $this->element('public/nav'); ?>                 
            <?php echo $this->element('public/searchbox'); ?>                 
            
            <div class="middle_container">
                <div class="left">
                    <?php if(!isset($noleftbar))echo $this->element('public/sidebar'); ?>                 
                    <?php echo $content_for_layout ?>    
                </div>    
                <?php echo $this->element('public/right'); ?>                 
            </div>
        </div>    
    </div>
    <?php echo $this->element('public/footer'); ?>                 
<?php echo $this->element('sql_dump'); ?>
</body>
</html>
